[DEPRECATED] Use form field endpoints instead. Update a specific incident custom field selection by id
curl --request PUT \
--url https://api.rootly.com/v1/incident_custom_field_selections/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_custom_field_selections",
"attributes": {
"value": "<string>",
"selected_option_ids": [
123
]
}
}
}'
{
"data": {
"id": "1",
"type": "incident_custom_field_selections",
"attributes": {
"custom_field_id": 173,
"incident_id": "11c35adb-382b-467a-b1f2-3ab10e9fe942",
"value": "Test update custom field",
"selected_option_ids": []
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_custom_field_selection updated
The response is of type object
.
curl --request PUT \
--url https://api.rootly.com/v1/incident_custom_field_selections/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_custom_field_selections",
"attributes": {
"value": "<string>",
"selected_option_ids": [
123
]
}
}
}'
{
"data": {
"id": "1",
"type": "incident_custom_field_selections",
"attributes": {
"custom_field_id": 173,
"incident_id": "11c35adb-382b-467a-b1f2-3ab10e9fe942",
"value": "Test update custom field",
"selected_option_ids": []
}
}
}